package com.dormitory.management.system.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 周例查表
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WeekCheck对象", description="周例查表")
public class WeekCheck implements Serializable {

    private static final long serialVersionUID = 1L;


    @ExcelProperty("房间号")
    @ApiModelProperty(value = "关联房间表id")
    private Long roomId;
    @ExcelProperty("星级")
    @ApiModelProperty(value = "星级（1：一星，2：二星，3：三星,4:四星，5：五星）")
    private Integer grade;
    @ExcelProperty("分数")
    @ApiModelProperty(value = "本次分数")
    private Integer score;
    @ExcelProperty("扣分原因")
    @ApiModelProperty(value = "扣分详情")
    private String information;
    @ExcelProperty("星期数")
    @ApiModelProperty(value = "当前周数")
    private Integer week;
    @ApiModelProperty(value = "创建日期")
    private Date gmtCreate;

    @ApiModelProperty(value = "修改日期")
    private Date gmtModified;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "状态（0：正常，1：禁用）")
    @TableLogic
    private Integer statusId;

    @ApiModelProperty(value = "周例查id")
    @TableId(value = "id", type = IdType.NONE)
    private Long id;
}
